package com.axjy.service;

import com.axjy.controller.vo.Node;
import com.axjy.pojo.Menu;

import java.util.List;
import java.util.Map;

/**
 * Created by asus on 2017/9/20.
 */
public interface PermissionService {

    public List<Node> search4Tree(Integer rid);

    public void grant4Role(Integer rid,Integer[] mids);


    public Map<Menu,List<Menu>> searchNav(Integer userId);

}
